package com.wxx.pojo;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * 加载配置文件的值
 */
@Configuration
@PropertySource("classpath:config.properties")
@Getter
@Setter
public class ConfigResource {

    @Value("${SEND_CODE_TEMPLATE_ID}")
    private String SEND_CODE_TEMPLATE_ID;

    @Value("${ALISMS_ACCESS_KEYID}")
    private String ALISMS_ACCESS_KEYID;

}




